<include file="Public/header" title="添加房源" />
<div id="page-wrapper">
    <form method="post" action="{:U('Fenrent/add')}"  enctype="multipart/form-data">
	<input type="hidden" name="rel_id" value="<?php echo $_GET['rel_id'] ?>" />
        <h2>基本信息</h2>
    <!-- 房间号 -->
        <div class="form-group  row">
            <label class="col-sm-1">房间号</label>
			 <div class="col-sm-11">
            <input type="hidden" name="fanghao" placeholder="房间号" value="<?php echo $_GET['fanghao'] ?>" /><?php echo $_GET['fanghao'] ?>
            </div> 
		</div> 
    <!-- 房间面积 -->
        <div class="form-group  row">
            <label class="col-sm-1">房间面积</label>
			 <div class="col-sm-11">
            <input type="text" name="mianji" placeholder="房间面积" class="form-control"  />
            </div> 
		</div> 
    <!-- 房间价格 -->
        <div class="form-group  row">
            <label class="col-sm-1">房间价格</label>
			 <div class="col-sm-11">
            <input type="text" name="jiage" placeholder="房间价格" class="form-control"  />
            </div> 
		</div> 	
		
    <!-- 性别 -->
        <div class="form-group row">
            <label class="col-sm-1">性别</label>
            <div class="col-sm-11">
                <input type="radio" name="xingbie" value="男" style="display:inline-block;margin-left:20px;" />男
                <input type="radio" name="xingbie" value="女" style="display:inline-block;margin-left:20px;" />女                
				<input type="radio" name="xingbie" value="无" style="display:inline-block;margin-left:20px;" />无                  
            </div>
        </div>
		
		
    <!-- 星座 -->
        <div class="form-group row">
            <label class="col-sm-1">星座</label>
            <div class="col-sm-11">
                <input type="radio" name="xingzuo" value="白羊座" style="display:inline-block;margin-left:20px;" />白羊座
                <input type="radio" name="xingzuo" value="金牛座" style="display:inline-block;margin-left:20px;" />金牛座
                <input type="radio" name="xingzuo" value="双子座" style="display:inline-block;margin-left:20px;" />双子座
                <input type="radio" name="xingzuo" value="巨蟹座" style="display:inline-block;margin-left:20px;" />巨蟹座
                <input type="radio" name="xingzuo" value="狮子座" style="display:inline-block;margin-left:20px;" />狮子座
                <input type="radio" name="xingzuo" value="处女座" style="display:inline-block;margin-left:20px;" />处女座
                <input type="radio" name="xingzuo" value="天秤座" style="display:inline-block;margin-left:20px;" />天秤座
                <input type="radio" name="xingzuo" value="天蝎座" style="display:inline-block;margin-left:20px;" />天蝎座
                <input type="radio" name="xingzuo" value="射手座" style="display:inline-block;margin-left:20px;" />射手座
                <input type="radio" name="xingzuo" value="摩羯座" style="display:inline-block;margin-left:20px;" />摩羯座
                <input type="radio" name="xingzuo" value="水瓶座" style="display:inline-block;margin-left:20px;" />水瓶座
                <input type="radio" name="xingzuo" value="双鱼座" style="display:inline-block;margin-left:20px;" />双鱼座                      
            </div>
        </div> 
		
    <!-- 职业 -->
        <div class="form-group  row">
            <label class="col-sm-1">职业</label>
			 <div class="col-sm-11">
            <input type="text" name="zhiye" placeholder="职业" class="form-control"  />
            </div> 
		</div> 
    <!-- 入住时间 -->
        <div class="form-group  row">
            <label class="col-sm-1">入住时间</label>
			 <div class="col-sm-11">
            <input type="text" name="shijian" placeholder="入住时间" class="form-control"  />
            </div> 
		</div> 
		
    <!-- 飘窗 -->
        <div class="form-group row">
            <label class="col-sm-1">飘窗</label>
            <div class="col-sm-11">
                <input type="radio" name="piaochuang" value="有" style="display:inline-block;margin-left:20px;" />有
                <input type="radio" name="piaochuang" value="无" style="display:inline-block;margin-left:20px;" />无
                      
            </div>
        </div> 
    <!-- 空调 -->
        <div class="form-group row">
            <label class="col-sm-1">空调</label>
            <div class="col-sm-11">
                <input type="radio" name="kongtiao" value="有" style="display:inline-block;margin-left:20px;" />有
                <input type="radio" name="kongtiao" value="无" style="display:inline-block;margin-left:20px;" />无
                      
            </div>
        </div>
		 
    <!-- 人数 -->
        <div class="form-group row">
            <label class="col-sm-1">入住人数</label>
            <div class="col-sm-11">
                <input type="radio" name="renshu" value="一人" style="display:inline-block;margin-left:20px;" />一人
                <input type="radio" name="renshu" value="两人" style="display:inline-block;margin-left:20px;" />两人
                <input type="radio" name="renshu" value="多人" style="display:inline-block;margin-left:20px;" />多人 
                <input type="radio" name="renshu" value="无人" style="display:inline-block;margin-left:20px;" />无人      
            </div>
        </div>
		
    <!-- 卫生间 -->
        <div class="form-group row">
            <label class="col-sm-1">卫生间</label>
            <div class="col-sm-11">
                <input type="radio" name="wcroom" value="有" style="display:inline-block;margin-left:20px;" />有
                <input type="radio" name="wcroom" value="无" style="display:inline-block;margin-left:20px;" />无      
            </div>
        </div>
    <!-- 入住状态 -->
        <div class="form-group row">
            <label class="col-sm-1">入住状态</label>
            <div class="col-sm-11">
                <input type="radio" name="state" value="0" style="display:inline-block;margin-left:20px;" />未入住
                <input type="radio" name="state" value="1" style="display:inline-block;margin-left:20px;" />已入住      
            </div>
        </div>

		
    <!-- 房间图片 -->
        <div class="form-group row">
            <label class="col-sm-1">房间图片</label>
            <div class="col-sm-11">
           <input type="file" name="pic[]" class="form-control" >
            </div>
        </div>
    
 
  <button type="submit" class="btn btn-default">提交</button>
    </form>
</div>
<include file="Public/footer" />